package com.xiyan.mocklocation.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class LoginBody {

    @NotBlank(message = "登录名不能为空")
    private String name;
    @NotBlank(message = "密码不能为空")
    private String pwd;
}
